<%@page language="java" pageEncoding="UTF-8"%>    
<%@page contentType="text/html; charset=UTF-8"%>
<%@page import="orest.front.achieve.KjcgAction"%>
<%@page import="orest.common.util.CachedObject"%>
<%@page import="orest.common.util.CacheManager"%>
<%@page import="java.net.URLDecoder"%>


<%  //request.setCharacterEncoding ("gbk");
   
    String keyword = request.getParameter ("keyword");
    System.out.println("doSea接收:"+keyword);
    //keyword = URLDecoder.decode(keyword,"gbk");
     
   // System.out.println("************ooooooo"+keyword);
    /* page number */
    String no = request.getParameter ("no");
    int   pageno = 1;
    if(no != null)
        pageno = Integer.parseInt (no);
    
    /* record number */
    String count = request.getParameter ("count");
    int   record = 5;
    if(count != null)
        record = Integer.parseInt (count);    
    
    KjcgAction obj = new KjcgAction();
    String str = "";
    
   
    
    str = obj.findKjcgByContion(keyword, pageno, record,0);
    
    //out.println ("<?xml version='1.0' encoding='gbk' ?><root>"+str+"</root>");
    out.println (str);
%>